package com.yenroc.invoice.pojo.xml;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * 销售方信息
 */
@XmlRootElement(name = "SellerInformation")
@XmlAccessorType(XmlAccessType.FIELD)
@Data
@AllArgsConstructor
@NoArgsConstructor
@SuperBuilder
public class SellerInformationXmlDTO {
    /**
     * 销售方纳税人识别号
     */
    @XmlElement(name = "SellerIdNum")
    private String sellerIdNum;

    /**
     * 销售方名称
     */
    @XmlElement(name = "SellerName")
    private String sellerName;

    /**
     * 销售方地址
     */
    @XmlElement(name = "SellerAddr")
    private String sellerAddr;

    /**
     * 销售方电话
     */
    @XmlElement(name = "SellerTelNum")
    private String sellerTelNum;

    /**
     * 销售方开户行
     */
    @XmlElement(name = "SellerBankName")
    private String sellerBankName;

    @XmlElement(name = "SellerBankAccNum")
    private String sellerBankAccNum;
}